<div class="layui-fluid z-main">
    <form class="layui-form layui-form-pane" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="rq">*</span>用户ID</label>
            <div class="layui-input-inline">
                <input disabled="" readonly="" class="layui-input layui-disabled" value="{$user->user_id}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="rq">*</span>邮箱</label>
            <div class="layui-input-inline">
                <input name="email" autocomplete="off" class="layui-input{if !$settings['modifyemail']} layui-disabled{/if}" value="{$user->email}" required="" lay-verify="required" {if !$settings['modifyemail']} disabled="" readonly=""{/if}>
            </div>
            <div class="layui-form-mid layui-word-aux">邮箱即是登录账号</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="rq">*</span>当前密码</label>
            <div class="layui-input-inline">
                <input name="password" type="password" autocomplete="off" class="layui-input" required="" lay-verify="required">
            </div>
            <div class="layui-form-mid layui-word-aux">修改任意内容均需填写密码</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-inline">
                <input name="newpassword" type="password" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">若不修改请留空</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">确认密码</label>
            <div class="layui-input-inline">
                <input name="againpassword" type="password" autocomplete="off" class="layui-input">
            </div>
        </div>
        <button lay-submit lay-filter="*" class="layui-btn">保存</button>
    </form>
</div>